-- || Created by Revelse

VoteSystem = inherit(Object)

function VoteSystem:constructor(tag)
	self.m_Maps = {}
	self.m_Tag  = tag
	
end

function VoteSystem:getMapTag() return self.m_Tag or "none" end

function VoteSystem:setMapTag(tag) 
	self.m_Tag = tag
	self:generateGamemodeMaps(tag)
end

function VoteSystem:generateGamemodeMaps(tag)
	self.m_Maps = MapManager:getSingleton():getMapsByTag(tag)
end

function VoteSystem:getGamemodeMaps() return self.m_Maps end

function VoteSystem:voteSystemActive()
	return true
end